package com.bdzl.admin.service.data.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.data.ProvinceDao;
import com.bdzl.pub.entity.data.ProvinceDO;
import com.bdzl.admin.service.data.ProvinceService;



@Service
public class ProvinceServiceImpl implements ProvinceService {
	@Autowired
	private ProvinceDao provinceDao;
	
	@Override
	public ProvinceDO get(Integer id){
		return provinceDao.get(id);
	}
	
	@Override
	public List<ProvinceDO> list(Map<String, Object> map){
		return provinceDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return provinceDao.count(map);
	}
	
	@Override
	public int save(ProvinceDO province){
		return provinceDao.save(province);
	}
	
	@Override
	public int update(ProvinceDO province){
		return provinceDao.update(province);
	}
	
	@Override
	public int remove(Integer id){
		return provinceDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return provinceDao.batchRemove(ids);
	}
	
}
